<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>报单明细</title>
<link href="<?php echo $_BASE_DIR?>css_v1/style.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $_BASE_DIR?>css_v1/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jmw.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/select-ui.min.js"></script>
<script type="text/javascript" src="<?php echo $_BASE_DIR?>js_v1/jquery.DatePicker.js"></script>
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 110
	});
});
</script>



</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
  <li><a href="<?php echo url("leftmenu/bottom")?>">首页</a></li>
    <li><a href="#">积分明细</a></li>
  
    </ul>
    </div>
    
    <div class="rightinfo">
	
	
<!--------------------------------------->
	
	<div style=" width:99%;height:35px; border:1px #fff solid; line-height:35px; margin-bottom:5px;">
	<form method="post" action="<?php echo url("point/index") ?>">
	<div class="tabsongm" >
    <ul class="seachform">
                <li>
				<label>收益人：</label>
				<input type="text" name="reward_acctname" class="scinputjmw" value="<?php echo isset($param['reward_acctname'])?$param['reward_acctname']:'';?>"/>
			</li>
			                <li>
				<label>购买人：</label>
				<input type="text" name="acctname" class="scinputjmw" value="<?php echo isset($param['acctname'])?$param['acctname']:'';?>"/>
			</li>
			<li>
				<label>获取积分：</label>
				<input type="text" name="balance" class="scinputjmw" value="<?php echo isset($param['balance'])?$param['balance']:'';?>"/>
			</li>
			<li>
				<label>代数：</label>
				<input type="text" name="level" class="scinputjmw" value="<?php echo isset($param['level'])?$param['level']:'';?>"/>
			</li>

			 <li><label>日期：</label><input name="created_timestart" id="created_timestart" value="<?php echo isset($param['created_timestart'])?$param['created_timestart']:'';?>" type="text" class="scinputjmw" />---<input name="created_timeend" id="created_timeend" value="<?php echo isset($param['created_timeend'])?$param['created_timeend']:'';?>" type="text" class="scinputjmw" /></li>  
			 
		<li><label>&nbsp;</label><input type="submit" class="scbtn" value="查询" style="width:60px;"/></li>
	</ul>
	</div>
	
	</form></div>
	<!---------------------------------------------------- --> 	
 <script>
	$('#created_timestart').datePicker({followOffset : [0, 24]});
	$('#created_timeend').datePicker({followOffset : [0, 24]});
	</script>
 <table class="tablelist">

    	<thead>
    	<tr>
              <th width="10%"  >收益人</th>
               <th width="10%"  >购买者</th>
        		<th width="10%" >第几代</th>
				 <th width="10%"  >积分金额</th>
	                <th width="45%" >备注</th>
				<th width="15%" >奖励时间</th>
        </tr>
        </thead>
        <tbody>
        <?php foreach($item as $k=>$v):?>
        <tr>
        	<td><?php echo $v->reward_realname?></td>
				<td><?php echo h($v->realname);
				?></td>
			
				<td><?php echo h($v->level)?></td>
				<td><?php echo h($v->balance)?></td>
				<td><?php echo h($v->remark)?></td>
				<td><?php echo date('Y-m-d H:i:s', $v->created)?></td>
        </tr> 
	   <?php endforeach;?>
        </tbody>
    </table>
    
    <?php echo Q::control('pagination','pagination',array('url_args'=>$param,'pagination'=>$pagination,'show_count'=>1))?>
    
    

    
    </div>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>

</html>

